package com.deer.wms.ware.task.model.Scoket;

public class CSUtils {
    //static String ip = "10.30.165.4";
    static String ip = "10.30.180.99";
    //static String ip = "10.30.180.43";
    static int port = 2503;
    static String encode = "UTF-8";
    static int SOCKETTYPE = 1;
    static int SOCKETS = 1;
    static int SOCKETD = 2;
    static int SOCKETO = 3;

    static void log(Boolean cos, String... vs){
        StringBuffer sb = new StringBuffer();
        if(cos)
            sb.append("客户端->");
        else
            sb.append("服务端->");

        for (String string : vs) {
            sb.append(string);
        }
        System.out.println(sb.toString());
    }
}
